package com.fgr.service.Impl;

import com.fgr.beans.DonationType;
import com.fgr.mapper.DonationMapper;
import com.fgr.mapper.DonationTypeMapper;
import com.fgr.service.DonationTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DonationTypeServiceImpl implements DonationTypeService {
    @Autowired
    DonationTypeMapper donationTypeMapper;

    @Override
    public List<DonationType> selectAllDonationType() {
        List<DonationType> donationTypes = donationTypeMapper.selectAllDonationType();
        return donationTypes;
    }
}
